package com.zt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zt.pojo.Courses;
import com.zt.service.CoursesService;
import com.zt.mapper.CoursesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author 洪
* @description 针对表【courses(课程信息表)】的数据库操作Service实现
* @createDate 2025-04-10 09:58:53
*/
@Service
public class CoursesServiceImpl extends ServiceImpl<CoursesMapper, Courses>
    implements CoursesService{

    @Autowired
    private CoursesMapper courseMapper;
    @Override
    public List<Map<String, Object>> getRecommendCourses() {
        return courseMapper.getRecommendCourses();
    }
}




